package com.guigu.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.erp.dto.SysMenuDto;
import com.guigu.erp.pojo.SystemMenus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemMenusMapper extends BaseMapper<SystemMenus> {
    List<SysMenuDto> selMenus(@Param("uid") int uid);

    List<SysMenuDto> selSubmenus(@Param("parentId") int parentId);
}
